package com.example.exercise.sys.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.sys.vo.SysAdminVO;
import com.example.exercise.sys.dao.entity.SysAdminEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 
*/
public interface SysAdminDAO {

    List<SysAdminEntity> findByWhere(Page<?> page, @Param("param") SysAdminVO sysAdminVO);

    SysAdminEntity findByKey(@Param("param") SysAdminVO sysAdminVO);

    int insert(@Param("param") SysAdminEntity sysAdminEntity);

    int updateByKey(@Param("param") SysAdminEntity sysAdminEntity);

    int deleteByKey(@Param("param") SysAdminVO sysAdminVO);

}